home *** CD-ROM | disk | FTP | other *** search
- #include<hold/anim.h>
-
- /* 000 */ void switch_control(void){
- /* 001 */ int guard = 0;
-
- a_func("switch_control",0);
- a_intini(guard,"guard",1);
- a_intcomp("guard!=6",2);
- /* 002 */ while(guard!=6){
- a_show(3);
- /* 003 */ switch(guard){
- /* 004 */ case 3 : case 4 :
- a_show(4);
- /* 005 */ guard = 5;
- a_intass("guard","5",5);
- a_show(6);
- /* 006 */ break;
- /* 007 */ case 2 :
- a_show(7);
- /* 008 */ guard = 4;
- a_intass("guard","4",8);
- a_show(9);
- /* 009 */ break;
- /* 010 */ case 1 :
- a_show(10);
- /* 011 */ guard = 2;
- a_intass("guard","2",11);
- a_show(12);
- /* 012 */ break;
- /* 013 */ case 0 :
- a_show(13);
- /* 014 */ guard = 1;
- a_intass("guard","1",14);
- a_show(15);
- /* 015 */ break;
- /* 016 */ default :
- a_show(16);
- /* 017 */ guard = 6;
- a_intass("guard","6",17);
- a_show(18);
- /* 018 */ break;
- /* 019 */ }
- a_intcomp("guard!=6",2);
- /* 020 */ }
- a_show(20);
- a_endfunc("switch_control",21);
- /* 021 */ }
-
-